
import { createPinia } from 'pinia'
import { useUserStore } from './user'
import { useCounterStore } from './counter'
import { useMenuStore } from './menu'

// 创建Pinia实例
const pinia = createPinia()

// 导出Pinia实例和所有store
export {
  pinia,
  useUserStore,
  useCounterStore,
  useMenuStore
}

export default pinia